package com.futao.springbootlearn20220224;

import com.futao.springbootlearn20220224.enable.EnableSayHello;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableSayHello
@EnableAsync
@SpringBootApplication
@EnableScheduling
@ServletComponentScan("com.futao.springbootlearn20220224.filterdemo")
public class SpringbootLearn20220224Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(SpringbootLearn20220224Application.class, args);
        // System.out.println(applicationContext.getBean(EnableSayHelloSelector.InnerBean.class));
    }

}
